function printMessageLength(message?:string){
  console.log(message!.length);
}
printMessageLength('aaa')